package com.hqyj.shop.pojo;

import java.util.List;

public class GoodsZhl<T> {
    private int goodsId;
    private String goodsName;
    private double price;
    private String pImage;
    private String pDesc;
    private String category;
    private String state;
    private List<T> list;
    public GoodsZhl() {
    }

    public GoodsZhl(int goodsId, String goodsName, double price, String pImage, String pDesc, String category, String state, List<T> list) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.price = price;
        this.pImage = pImage;
        this.pDesc = pDesc;
        this.category = category;
        this.state = state;
        this.list = list;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getpImage() {
        return pImage;
    }

    public void setpImage(String pImage) {
        this.pImage = pImage;
    }

    public String getpDesc() {
        return pDesc;
    }

    public void setpDesc(String pDesc) {
        this.pDesc = pDesc;
    }

    public String getcategory() {
        return category;
    }

    public void setcategory(String category) {
        this.category = category;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "GoodsZhl{" +
                "goodsId=" + goodsId +
                ", goodsName='" + goodsName + '\'' +
                ", price=" + price +
                ", pImage='" + pImage + '\'' +
                ", pDesc='" + pDesc + '\'' +
                ", category='" + category + '\'' +
                ", state='" + state + '\'' +
                ", list=" + list +
                '}';
    }
}
